/*  
	Author      : Sidek Sirun
	Course      : UCI Java Programming I (X460.10)
	Assignment 4: Loop Collection

	Create a collection with 100 numbers. Next, loop through the Collection and write 
	out numbers that are divisible by 3.
*/

public class Number {
	// Instance variable
	private int number;

	// Constructor
	public Number(int number) {
		this.number = number;
	}

	// Methods
	public void setNumber(int number) {
		this.number = number;
	}

	public int getNumber() {
		return number;
	}

	public String toString() {
		int number = getNumber();
		String numberInfo = "Number: " + number;
		return numberInfo;
	}

}
